package com.flyco.modules.fenxiao.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 分销公司
 * @Author: flyco
 * @Date:   2021-07-06
 * @Version: V1.0
 */
@Data
@TableName("dist_company")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="dist_company对象", description="分销公司")
public class DistCompany {
    
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Long id;
	/**公司简称*/
	@Excel(name = "公司简称", width = 15)
    @ApiModelProperty(value = "公司简称")
	private String name;
	/**联系人*/
	@Excel(name = "联系人", width = 15)
    @ApiModelProperty(value = "联系人")
	private String contanctName;
	/**联系电话*/
	@Excel(name = "联系电话", width = 15)
    @ApiModelProperty(value = "联系电话")
	private String contactPhone;
	/**纳税人识别号*/
	@Excel(name = "纳税人识别号", width = 15)
    @ApiModelProperty(value = "纳税人识别号")
	private String taxNo;
	/**公司全称*/
	@Excel(name = "公司全称", width = 15)
    @ApiModelProperty(value = "公司全称")
	private String vatCompanyName;
	/**开户行*/
	@Excel(name = "开户行", width = 15)
    @ApiModelProperty(value = "开户行")
	private String vatBankName;
	/**银行帐号*/
	@Excel(name = "银行帐号", width = 15)
    @ApiModelProperty(value = "银行帐号")
	private String vatBankAccount;
	/**公司地址*/
	@Excel(name = "公司地址", width = 15)
    @ApiModelProperty(value = "公司地址")
	private String vatAddress;
	/**公司电话*/
	@Excel(name = "公司电话", width = 15)
    @ApiModelProperty(value = "公司电话")
	private String vatPhone;
	/**邮政编码*/
	@Excel(name = "邮政编码", width = 15)
    @ApiModelProperty(value = "邮政编码")
	private String postCode;
	/**省份/直辖市*/
	@Excel(name = "省份/直辖市", width = 15)
    @ApiModelProperty(value = "省份/直辖市")
	private String province;
	/**城市*/
	@Excel(name = "城市", width = 15)
    @ApiModelProperty(value = "城市")
	private String city;
	/**区*/
	@Excel(name = "区", width = 15)
    @ApiModelProperty(value = "区")
	private String area;
	/**省份编号*/
	@Excel(name = "省份编号", width = 15)
    @ApiModelProperty(value = "省份编号")
	private String provinceCode;
	/**城市编号*/
	@Excel(name = "城市编号", width = 15)
    @ApiModelProperty(value = "城市编号")
	private String cityCode;
	/**区编号*/
	@Excel(name = "区编号", width = 15)
    @ApiModelProperty(value = "区编号")
	private String areaCode;
	/**详细地址(街道)*/
	@Excel(name = "详细地址(街道)", width = 15)
    @ApiModelProperty(value = "详细地址(街道)")
	private String detailAddress;
	/**删除状态：0->未删除；1->已删除*/
	@Excel(name = "删除状态：0->未删除；1->已删除", width = 15)
    @ApiModelProperty(value = "删除状态：0->未删除；1->已删除")
	@TableLogic
	private Integer cancelFlag;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;
}
